
			
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>Content box</h3>
					
					<ul class="content-box-tabs"><!-- href must be unique and match the id of target div -->
						<li><a href="#tab2" class="default-tab">Forms</a></li>
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab2">
					
						<form action="" method="post">
							
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
								<p>
									<label>分类名称</label>
										<?php echo "<input class='text-input small-input' type='text' id='small-input' name='category_name' value='$category_name'/>";?> <!-- Classes for input-notification: success, error, information, attention -->
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label>url</label>
									<?php echo "<input class='text-input medium-input datepicker' type='text' id='medium-input' name='url' value='$url'/>";?> 
									
								</p>
								
								
								
								
								
								<?php if($pid!=0){ ?>
								<p>
									<label>所属类</label>              
									<select name='pid' class='small-input'>
										<?php foreach($child as $v):?>
										<option value="<?php echo $v['id']?>" ><?php echo $v['category_name']?></option>
										<?php endforeach;?>
									</select> 
								</p>
							<?php ;}?>
								
								
							
								
								<p>
									<input class="button" type="submit" value="Submit" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
						
					</div> <!-- End #tab2 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			
			

			
			
			<!-- Start Notifications -->
			
			
			
			
			<!-- End Notifications -->
			
			